#include "over.h"
#include "ui_over.h"
#include<QPainter>

over::over(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::over)
{
    ui->setupUi(this);
    this->setWindowIcon(QIcon(":/res/shaliwa.png"));
}
void over::paintEvent(QPaintEvent *)
{
    QPainter painter(this) ;
    QPixmap pix;
    pix.load(":/res/win.png");
    painter.drawPixmap(0,0,this->width(),this->height(),pix);
}


over::~over()
{
    delete ui;
}
